import config from '@/config'
import http from '@/utils/requestLogin'

export default {
    dept: {
        list: {
            url: `/dwxx/queryAllDwxx`,
            name: "获取部门列表",
            get: async function () {
                return await http.post(this.url);
            }
        }
    },
    role: {
        list: {
            url: `/jsxx/pagingQuerySet`,
            name: "角色管理分页查询",
            get: async function (params: object) {
                return await http.post(this.url, params);
            }
        }
    },
    zdm: {
        list: {
            url: "/dmsxxxb/pagingQuerySet",
            name: "字典管理分页查询",
            get: async function (params: object) {
                return await http.post(this.url, params);
            }
        }
    },
    xtgl: {
        list: {
            url: "/xtgl/pagingQuerySet",
            name: "系统管理分页查询",
            get: async function (params: object) {
                return await http.post(this.url, params);
            }
        }
    },
    yhgl: {
        list: {
            url: "/yhxx/pagingQuerySet",
            name: "用户管理分页查询",
            get: async function (params: object) {
                return await http.post(this.url, params);
            }
        }
    }
}